
# 将名称保存到 DIR_LIB_SRCS 变量
aux_source_directory(. DIR_FRAMEPROCESSOR)

add_library(FrameProcessor SHARED ${DIR_FRAMEPROCESSOR})

# 编译detector.so
target_include_directories(FrameProcessor
        PUBLIC include 
        PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include
        PUBLIC ${OpenCV_INCLUDE_DIR}
        PUBLIC ${InferenceEngine_INCLUDE_DIRS}
)

target_link_libraries(FrameProcessor ${OpenCV_LIBS} realsense2 Parameter)